package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author cjr
 */
@Data
@Builder
public class SupplierMyGoodsTypeResponse {

    @ApiModelProperty(value = "分类列表", dataType = "SupplierMyInfoResponse.Type")
    private List<Type> types;

    @Data
    @Builder
    @ApiModel("SupplierMyInfoResponse.Type")
    public static class Type implements Serializable {
        private Integer typeId;
        private String name;
        private String groupName;
        @ApiModelProperty(value = "分类列表", dataType = "SupplierMyInfoResponse.Type")
        private List<Type> childList;
    }
}
